package Deom1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2023-11-16
 * Time: 20:51
 */
public class Fish extends Animal implements Iswim{

    public Fish(String name) {
        super(name);
    }

    @Override
    public void Swim() {
        System.out.println(this.getName()+"用鱼鳍在游");
    }
}
